Adapted hyperbolic polygons and symplectic representations for group actions on Riemann surfaces