Output type check results to stdout and GitHub step summary (#19437)
### Summary of the issue:
Currently, failing type checks in CI only output errors and warning to
the [workflow
summary](https://github.com/nvaccess/nvda/actions/runs/20938000634/attempts/1#summary-60166146854),
rather than the [job run
details](https://github.com/nvaccess/nvda/actions/runs/20938000634/job/60166146854?pr=19432#step:5:26).
### Description of user facing changes:
None
### Description of developer facing changes:
Type checking failures in CI output details to both locations, making
them easier to find.
### Description of development approach:
Tee the output of running pyright rather than saving it directly to a
variable.
### Testing strategy:
Ran `ci/scripts/test/typeCheck.ps1` locally on a branch with pyright
violations.
### Known issues with pull request:
None known.