Seems wezterm built from the latest git version (7e8fdc118d2d7ceb51c720a966090f6cb65089b7) now handles wayland correctly.