The leading cause of infertility in women, called polycystic ovary syndrome, could have developed when they were in the womb, according to a study of mice.