Pete Alonso’s three-run, opposite-field homer in the 10th inning lifted the Mets to a 5-2 victory over the Texas Rangers.