macos: fix backdrop when displaying popover
Previously, the popover would cause the window to go into the :backdrop state which is not what we want for consistency with other platforms. This fixes that by walking up the surface chain when we get notified of loosing or acquiring "key" input from the display server.