Use this to find out whether two proportions from different sub-samples are statistically different:
Not the right test? Compare Two Proportions From The Same Sample