meson: use proper handling of wayland-protocols dependency
To avoid random failures if one of the projects starts depending on new things or has incompatible changes.
Similar to !4579 (merged)
(Also cherry-pick !4561 (merged))
To avoid random failures if one of the projects starts depending on new things or has incompatible changes.
Similar to !4579 (merged)
(Also cherry-pick !4561 (merged))