qmlglsrc: fix operation without any qmlglsink
E.g. a pipeline like qmlglsrc ! gldownload ! ... would currently fail to run because the OpenGL context are not created in the correct order.
The QtWindow also needs to know the OpenGL context used by downstream elements in order to set optimize for the correct GstGLSyncMeta for synchonisation purposes.