Added type hints for YolosForObjectDetection
Based on Issue #16059 

I have added the type hints for `YolosForObjectDetection` model.

@Rocketknight1 Could you kindly check if this is fine?

Thanks in advance.
Thanks @Rocketknight1.