Let QWindows ignore close events

Pressing Cmd+Q on OSX generates close events in such a way that
they don't get to QWindows, so they don't get a chance to ignore
the event. This patch passes close events from QApplication to
QGuiApplication to give QWindows a chance to ignore the close
event.

Task-number: QTBUG-33235