Adnexal Torsion of a Mature Cystic Ovarian Teratoma With Hemorrhagic Infarction Misdiagnosed As Pelvic Inflammatory Disease in a Perimenopausal Patient: A Case Report | Cureus