The top Twitter executive in charge of the safety of content and moderation of posts has left the company her departure is coming shortly after the company’s owner Elon Musk made a public complaint