Once I dived really deep into a touchscreen support back when I wanted to penguinize a Windows tablet - not much luck.
Xorg has a coordinate transformation matrix in its config files. There is an open source tool for calibrating touch screens (generating matrices), can't remember its name.
But that doesn't solve a problem for you anyway.
From my experience in no-X world, I would like to offer you an alternative of Cage + foot terminal.
https://github.com/cage-kiosk/cage
https://codeberg.org/dnkl/foot
Cage lets you run Wayland programs by creating a minimal session with a program of choice maximized in it. Once the underlying programs exits, so does cage.
It works very well for me on my technically still no-X machine. The overhead of Cage is minimal, and it's as easy to use as
cage foot
, or
cage wesnoth
.

And it's nice to have a full color terminal that supports any font at any size.
Here is some information about stuffing calibration matrix into Wayland:
https://wayland.freedesktop.org/libinpu ... n-via-udev
As far as I know, Weston has a built in calibration tool,
weston-calibrator
, that could produce a matrix for you.
I trust Wayland has touch screen support sorted out in a more elegant way than Xorg does - much like everything else in Wayland.
So far the only downside of Wayland is slow adoption and lack of recognition as a viable alternative. A familiar argumentum ad Windowsum
