Compile postgresql with --with-libxml
It is impossible to save a layer style to a pglite layer from QGIS. The error found in the log is:
DETAIL: This functionality requires the server to be built with libxml support.
HINT: You need to rebuild PostgreSQL using --with-libxml.
]