DOC: indicate possibility that line_search returns some values that are None

Partially addresses https://github.com/scipy/scipy/issues/4257.