Pete Alonso turned his extended at-bats into production with a three-RBI performance that included a home run late in the Mets’ 7-6 victory.