window-actor: Fix build

This was renamed to detach_x11_pixmap on the Wayland branch, and was
blindly cherry-picked onto master.