launch stub compositor (empty session that immediately does a clean exit as soon as it starts) -> if it exits cleanly, wayland is supported, if it crashes, wayland is not supported 😁
in the latter case, please don't forget to make the full error message available to the user, so that they can know what's wrong