PHOENIX — Francisco Lindor hit a three-run homer, Pete Alonso launched a two-run shot and the New York Mets held on late to beat the Arizona Diamondbacks 5-4 on Monday night.Lindor turned on a slider from Ryan Thompson in the seventh inning, driving it over the right-center fence for what looked like a comfortable 5-1 lead. But the D-backs closed the gap in the eighth, loading the bases with no outs when reliever Dedniel Núñez walked three straight batters in his first major league outing this season after coming off the injured list. Reed Garrett entered and struck out Pavin Smith, but Josh Naylor’s single made it 5-2 and Eugenio Suarez followed with a two-run single off the center-field wall that cut the margin to 5-4.With the potential tying run on second and the go-ahead run on first, Garrett struck out Gabriel Moreno and retired Lourdes Gurriel Jr. on a foul popup to end the inning.Arizona threatened again in the ninth against closer Edwin Díaz when Alek Thomas reached on Alonso’s throwing error at first base. But catcher Francisco Alvarez caught Thomas trying to steal second with the help of a sensational tag by Lindor, and Díaz retired Geraldo Perdomo and Corbin Carroll for his eighth save.Alonso’s …