hw: xwayland: fix build if neither gbm nor eglstream available
This is an (IMHO more robust) alternative to Michel's approach for fixing #1631 (closed).
Here, moving out the decision point to an extra meson variable, which is now used in all applicable places, instead of directly matching for an (potentially) already set build define.