Hakimi earns PSG last-gasp win at Metz