x11-xcb: handle XKB state notify events