client: Fix crash on data_device_motion


When a window is closed/destroyed, a motion message can still be received
that was send by the compositor before closing the window.

Pick-to: 6.8
Change-Id: I49cfdcf9a4143df5c090dfb93f2920879ae43f80
Reviewed-by: David Edmundson <davidedmundson@kde.org>
commit8ee4a2f7888f9280cabafded4289d1b7c84f35fb
parentf0acf4897f567a34b61a6ceec858d6f639beebee
authorDavid Redondo <qt@david-redondo.de>
committerDavid Redondo <qt@david-redondo.de>
commit timeWed, 6 Nov 2024 11:50:13 +0100