Replace XkbNewKeyboardNotify by PropertyNotify.
Fix memory leak by freeing libxkbfile structures.

This is more complicated than it should be, as libxkbfile provides
no proper way to free these structures (it does not matter for
setxkbmap, but it matters for a daemon like ours).