[ty] Fix wrong inlay hints for overloaded function arguments (#23179)
## Summary
Inlay hints for function call arguments were showing parameter names
from the wrong overload variant because they only performed arity-based
matching.
Closes https://github.com/astral-sh/ty/issues/1985.