Brewer’s heated exchange with a Palestinian politician was the most complained-about TV event of the year, Ofcom has said.