Elmo actor resigns amid sex allegation