CLN: Index._format_with_header (remove kwargs etc.)
Refactor of ``Index._format_with_header`` and subclass methods:
* remove ``kwargs`` for cleaner signature.
* Add return type
* Move functionality specific to ``CategoricalIndex`` to that class.

LGTM thanks @topper-123 