Revert "gdk_x11_window_lookup_for_display was added in Gtk+2.24"

This reverts commit 9a8965fa0c783bc8221a1ccd55247e5e6a4ee88a.

It caused the run dialog to fail.