enter-chroot: If XAUTHORITY is not set, make a guess

Useful when enter-chroot is called from udev/upstart, see #929.