Gets the text to search.
The return value must not be freed.
You may be interested to call [func@utils_escape_search_text] after this function.
a SearchSettings.
the text to search, or null if the search is disabled.