Lionel Messi scored a hat-trick as Argentina beat Algeria in their World Cup opener after braces for Erling Haaland and Kylian Mbappe