We detect mouse movement by checking if the screen position is not the
keyboard position and if not, we clear the
m_lastKeyboardCursorPositionValid that is used for detemining keyboard
movement in snaps
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21981
(cherry picked from commit 120c788ef0)