X-cube model on generic lattices: Fracton phases and geometric order | Synapse