Fix queueing.call_prediction to retrieve the default response class in the same manner as FastAPI's implementation (#5474)
* Fix `queueing.call_prediction` to retrieve the default response class in the same manner as FastAPI's implementation
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>