[ty] new diagnostic called-match-pattern-must-be-a-type (#22939)
## Summary
Fixes: https://github.com/astral-sh/ty/issues/2592
Adds a new diagnostic to flag called match patterns where the called
object is not a class literal.
## Test Plan
New mdtests
## Ecosystem changes
---------
Co-authored-by: David Peter <mail@david-peter.de>