spicec-x11: Add a few missing XLockDisplay calls (rhbz#654265)
spicec-x11: Add a few missing XLockDisplay calls (rhbz#654265)

The XIM functions end up waiting for a reply from the server, so they
need locking around them. Idem for the XLookupString call.

freedesktop-unofficial-mirror/spice__spice,freedesktop-unofficial-mirror/spice__spice,elmarco/spice,Fantu/spice,virtualAMP/spiceplay,mathslinux/spice,SPICE/spice,fgouget/spice,fgouget/spice,dezelin/spice,alon/spice-server,alon/spice-server,virtualAMP/spiceplay,elmarco/spice,mathslinux/spice,ya-mouse/spice,Fantu/spice,Fantu/spice,elmarco/spice,fgouget/spice,SPICE/spice,ya-mouse/spice,elmarco/spice,freedesktop-unofficial-mirror/spice__spice,mathslinux/spice,mathslinux/spice,alon/spice-server,alon/spice-server,elmarco/spice,dezelin/spice,freedesktop-unofficial-mirror/spice__spice,virtualAMP/spiceplay,freedesktop-unofficial-mirror/spice__spice,mathslinux/spice,dezelin/spice,dezelin/spice,Fantu/spice,fgouget/spice,alon/spice-server,virtualAMP/spiceplay,ya-mouse/spice,dezelin/spice,SPICE/spice