Geometry and large deviations for zeros of Gaussian random holomorphic polynomials on Riemann surfaces