Wrapper class for JMailHelper to get rid of static methods

Reference: #4717

This PR introduces a wrapper class for the JMailHelper class to get rid of the static methods to improve the testing basis of the code for our PHPUnit tests!

The static methods (and the wrappers) will be removed completely in Joomla! 4.x.