Police have charged a 20-year-old man with making a nazi salute at a pro-trans rights rally in Sydney.