wayland/xdg-foreign: Add support for xdg-foreign-v2
This replaces the v1 implementation, which is now renamed to legacy-xdg-foreign. Both implementations use the same data structures internally, so that protocol version mismatches between the importer client and exporter client don't fail. GNOME/mutter!1043