Switch from `pyright` to `ty` (#11731)
* changes
* Update scripts/type_check_backend.bat
* Update pyproject.toml
* changes
* changes
* notebooks
* changes
* notebooks
* add changeset
* more ignores
* remaining
* fix context
* lint
* more fixes
* fix
* try again
* scripts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>