Update LatexInlineDimensional unit formatter for Astropy 5.3
This PR updates the LatexInlineDimensional
unit formatter to accommodate changes that will be introduced in Astropy 5.3.
The _latex_escape
private method was removed from the relevant parent class, so this MR replaces that call with a manual version of the same logic, and updates some documentation.