SpaceMesh: A Continuous Representation for Learning Manifold Surface Meshes