Move away from MetaDisplay API. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2526>