Gets the stage for a particular X window.
an X Window ID
A Stage, or% NULL if a stage does not exist for the window