Update x11_window.c

tweaked to check if _GLFW_X11 has been defined as part of a project to make this able to be built from source.