Amanda Zavitz said she was quitting because of comments she made in a lecture in New York that surfaced this week