Five-time world champion Magnus Carlsen left the World Rapid Blitz Chess Championships in New York over a wardrobe dispute.