Port from QPair to std::pair
They're literally the same since 6.0:
template <typename U, typename V> QPair = std::pair<U, V>;
Amends 5444ea50bb2b1b894d5b3c33676f9ef207fdcd1a (5.7) for
QWaylandInputMethodEventBuilder and, for QWaylandQtShell,
amends d89c8920f3b82dd2098971b5a66c4b9c75da5af0 (6.3).
As a drive-by, simplify construction by using {} instead of
pair<,>().
Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-115841
Change-Id: Iec53a68eaa62f23ed51cdc977989655af55725eb
Reviewed-by: David Redondo <qt@david-redondo.de>