CI: use github action for pyright
pyright has a github action integration https://github.com/microsoft/pyright/blob/main/docs/ci-integration.md

I added the `--skipunannotated` option to prevent pyright from trying to infer missing return annotation (mypy doesn't do that either). That does not make a difference at the moment but it cuts reportGeneralTypeIssues errors in half (if it was enabled).
Closing this. Will try to add mypy to the manual pre-commit stage and then run mypy&pyright through pre-commit. Thanks @twoertwein. No objection adding it via this PR if the pre-commit version doesn't work out  > Closing this. Will try to add mypy to the manual pre-commit stage and then run mypy&pyright through pre-commit.

This could slow down development.  When I run `mypy` on my laptop on the pandas source, it can sometimes take 3 minutes to complete.  So adding that amount of time as part of the pre-commit might be burdensome. This was implemented as a `manual` step in pre-commit, so typing checks won't be run automatically on every local commit. It must be run manually but a manual pre-commit command is now the runner:  https://github.com/pandas-dev/pandas/pull/47075/files#diff-a5a8fc529fd73f3c8aa836fde7c12d7c331b4ca84e48252fd881d2c803c24adfR263