'She' is the title of a book by H. Ryder Haggard. It concerns a woman called Ayesha (She who must be obeyed) who is immortal. I haven't seen the film you're talking about, but I think it unlikely that there's any connection between that and this book.
The child bride of Mohammed was also called Ayesha. He was 49 and she was 6 when they married, and the marriage was consummated when she was 9. Perhaps, bearing in mind the setting and the subject of the film, this was a portrayal of a character who was perhaps homosexual or effeminate, and it was just a derogatory term.