Geometric frustration in polygons of polariton condensates creating vortices of varying topological charge