The head of one of Australia’s most loved writers festivals has resigned over the removal of a Palestinian-Australian from this year’s program.