In preparation for more changes to properly track X11 active window and request active window changes, ultimately improving window focus consistency on X11.
-- v2: winex11: Track _NET_ACTIVE_WINDOW property changes. winex11: Introduce a new handle_state_change helper.