Towards General-Purpose Representation Learning of Polygonal Geometries