wined3d: Use a separate flag to track if the GL context needs to be made current.