wayland: Implement HandlePopupDone callback for dispatching close window

Now if a menu is opened and the user clicks outside a Chromium window then the
popup done event will dispatch a close window for that menu.