When you see X11 code in the gnome-shell process of a Wayland session that's nothing unusual. It just means some X11 app is running, talking to Xwayland and gnome-shell (which is both the Wayland display server AND the X11 window manager in this case).
Since this bug is about a particular "BadWindow (invalid Window parameter)", maybe it is specific to Evolution?...
When you see X11 code in the gnome-shell process of a Wayland session that's nothing unusual. It just means some X11 app is running, talking to Xwayland and gnome-shell (which is both the Wayland display server AND the X11 window manager in this case).
Since this bug is about a particular "BadWindow (invalid Window parameter)", maybe it is specific to Evolution?...