If Zohran Mamdani — a socialist who campaigns against the president — can play nice with Trump, then Gavin Newsom can do the same.