UX: Better visibility for context search (PR #14599)

When in a topic/category/user/group page, this shows the contextual search option even when there is no search term (i.e. instead of the random tips shown previously).

This also fixes a bug where clicking on the category badge in the search suggestions routed the user to the category page.