Pattern Recognition to Prognosticate Endometrial Cancer: The Science Behind the Art of Office Hysteroscopy—A Retrospective Study