It uses a custom widget toolkit. Adding touchpad gesture support is certainly doable, but it would benefit only single application, so we haven't prioritized that so far.
I work on the VCL component of LibreOffice. Where are the technical docs on how gestures work?