Move window pings to MetaWindow

This will make it possible to use on Wayland as well...
window: Support pinging Wayland surfaces as well