[ty] Remove unused APIs from ty_server (#27398)
## Summary
This PR removes unused APIs from ty_server identified by Hawk 0.1.11. It
is split from #27339 so the removals can be reviewed independently at
the crate boundary.
- 4 net lines removed
- 4 deletions and 0 additions
- 1 files changed