DOC: fix docstrings for multiple api.types methods
Part of #58577

Fixes :
 ```
        -i "pandas.api.types.is_re PR07,SA01" \
        -i "pandas.api.types.is_named_tuple PR07,SA01" \
        -i "pandas.api.types.is_hashable PR01,RT03,SA01" \
        -i "pandas.api.types.is_file_like PR07,SA01" \
        -i "pandas.api.types.is_dict_like PR07,SA01" \
```
Thanks @saldanhad 