Achraf Hakimi struck deep in stoppage time to earn Paris Saint-Germain a 2-1 victory at bottom side Metz and maintain their perfect Ligue 1 record this season.