Mayor Zohran Mamdani has been slapped with an ethics complaint from a watchdog over his apparent use of city resources to endorse Democrats.