It’s a KWin scrip called Autocompose. Does endeavour ship it by default?
Endeavour installs a mostly default DE when you make your choice of which one to use, so most of the DE’s come as packaged by the devs. If I’m not mistaken Autocompose is a default script included with KDE.
I say mostly, because some parts of the DE you use is incompatible with the Arch ecosystem and disabled by default. For example, Discover on KDE is pretty much unusable on arch/EndeavourOS because the repos aren’t adequately designed for such a setup.
I don’t know about gnome, but on KDE you can disable touch support under settings>mouse & touchpad.