One of the founders of the world’s oldest breastfeeding support charity has quit in protest at its inclusion of transgender women.