Fix-up QWaylandQuickShellSurfaceItem shellSurface tracking


When the shell surface is destroyed, the shell integration would then
call setSurface(nullptr) and surfaceChangedEvent(), where shellSurface()
continue returning the old (non-null) m_shellSurface value.

This amends 9847c3b8cec0f8f1e1ef1965fad2477b90c27c64

Pick-to: 6.11 6.10 6.8 6.5
Task-number: QTBUG-138907
Change-Id: Iba528cbb9ea19e5fd93bfccca67454f9ef2762b4
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commitbf2feb5e23d7d9d837d0bf54d9dd14134003e5ab
parentf118165b4d73f8ac0634e769444a164b9a2c0dc2
authorKonstantin Ritt <ritt.ks@gmail.com>
committerKonstantin Ritt <ritt.ks@gmail.com>
commit timeTue, 3 Mar 2026 10:47:06 +0000