Continuum theory for the mechanics of curved epithelial shells by coarse-graining an ensemble of active gel cellular surfaces