[ty] disallow type variables within PEP-695 type variable bounds/constraints (#22982)
## Summary
This is a revival of https://github.com/astral-sh/ruff/pull/21984.
Legacy typevar checks were already supported in
https://github.com/astral-sh/ruff/pull/22949.
This PR addresses PEP-695 typevars.
## Test Plan
mdtest updated
---------
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>