Apply MathCAT settings with libmathcat.SetPreference when changed (#19613)
Closes #19597.
Summary of the issue:
After #19373, NVDA math preferences were not honoured by MathCAT.
Description of how this pull request fixes the issue:
Per #19373 (comment), use libmathcat.SetPreference to apply settings changes when they are saved to the NVDA configuration.