wayland: Fix sendFullKeyEvent to properly handle AltGr and NumLock modifiers


QWaylandSeat::sendFullKeyEvent and
QWaylandKeyboard::checkAndRepairModifierState did not properly handle
AltGr (Mod5/ISO_Level3_Shift) and NumLock modifiers:
- AltGr was not tracked by mod5Index, so Qt::GroupSwitchModifier events
  were not translated to the xkb Mod5 bit when repairing modifier state
- The Qt::Key_AltGr key was not guarded against in the modifier repair
  logic, allowing the repair to fire while AltGr itself was pressed
- NumLock state (modsLocked) was discarded during modifier state repair
  by passing 0 instead of the current modsLocked value to
  send_modifiers()

Fixes: QTBUG-131910
Change-Id: I58545a7d39f69c8dadd611bf851b30c6a894d6d3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit03ad908f41ecbb05bdf4671dece1acc0247d9388
parent04ce3424b5c67a32e7990585d274cf0da603b4f1
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 14 Apr 2026 11:37:32 +0000