Add type hints for XLM (TensorFlow)
# What does this PR do?


Adds type hints to the TensorFlow implementation of the XLM model.



The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16172). All of your documentation changes will be reflected on that endpoint.