Windows backend: cleanup WinRT usage
Qt 6 does not support WinRT as a separate platform.
qeventdispatcher_winrt_p.h was removed in 6.0 and runOnXamlThread()
calls make no sense.
Clean up the code to get rid of stale ifdefs and method calls.
Replace all runOnXamlThread() calls with Immediately Invokable Lambda
Expressions (IILE) to minimize the diff.
Pick the changes to all LTS branches to simplify further bugfixing.
Pick-to: 6.7 6.6 6.5 6.2
Change-Id: I183adc487873dfa110ac94599825e7c660db42ee
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>