glTF does not support meshes with quads or n-gons, but it does support lines. If you just want to render the original quads or n-gons as lines that is possible:
Beyond that, as @PavelBoytchev says, three.js loaders are there to create a THREE.Mesh object, and this does not include quad topology. I think you’d need to choose a format, find or modify a loader to identify original faces, and then keep track of the original faces vs. the triangulated faces if you need both.