Twitter’s head of trust and safety says she has resigned