Update _window_flip.pyx

Fix: Calling gil-requiring function not allowed without gil
Merge pull request #983 from KennethPierce/nogil

Update _window_flip.pyx