Despite the disease’s prevalence, endometriosis remains misunderstood, and research into drugs that might treat it draws scant funding — problems that have deep roots.