window: remove set_need_lock

No-one is using it.  The only code that did was the x11 one which
doesn't need it anymore.
window: hold a ref to our GstGLDisplay