effects: Make OpenGL context current before deleting framebuffer
When we delete a window we unredirect, when we unredirect, we delete the framebuffer which requires an openGL context.
handleWindowDeleted is the entry point from workspace events to effects code, so it's made current here.
(cherry picked from commit c5a29b4b)