cairo: make it work without libX11

xlib-libxcb code was required before. This breaks a build without libX11.