present: add immediate option for Xwayland
Xwayland can't use PresentOptionAsync
to request async page flips from the Wayland compositor, because Mesa uses that for Mailbox. In order to work around that limitation, add a new option PresentOptionImmediate
that can be used instead.