backends/native: Fix handling order of key event
First create the event with the current xkb modifier mask, then update the xkb_state and the modifier mask. This is how it happened before commit 2e8d8397, and how it should stay.
Fixes: 2e8d8397 ("backends/native: Port to new event constructors")
Closes: #2951 (closed)