Check for tablets and pad devices using capabilities. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2331>