[ty] Make TypeIs invariant in its type argument (#20428)
## Summary
What it says on the tin. See the [typing
spec](https://docs.python.org/3/library/typing.html#typing.TypeIs) for
justification.
## Test Plan
Add more tests to PEP 695 `variance.md` suite.