Release GIL around sparse liblinear training

Enhancement to #1857. Thanks to @jnothman for pointing out that I'd missed one function to wrap with `with nogil`.