WIP: gdk: Keep track again of implicit grabs
Tracking of those broke sometime along the gdk cleanups, so we started missing some GDK_GRAB_BROKEN events from being emitted (eg. after a button press/implicit grab triggers an active grab).
Fixes broken gesture state after opening menus.
Closes: #2446 (closed)