There has been a "fraying" of social cohesion in Melbourne since the start of the war in Gaza, the city's lord mayor has told the antisemitism royal commission.