Search backend: remove rawQuery()
Created by: camdencheek
This removes searchResolver.rawQuery() in favor of just accessing the original query on the SearchInputs struct. The goal here is just to reduce the footprint/reach of searchResolver for further simplifications.
Stacked on #31338
Test plan
Semantics preserving.