This drug may be able to treat both women’s health disorders and prostate cancer