West Bank mayor quits in protest