Include the missing headers, notable QtGui/QFont from wx/fontutil.h which uses a QFont object. Closes #16750.