Subgroups of profinite surface groups