Steven Wright, who at one point this week was poised to be the Red Sox’s starting pitcher Saturday afternoon, instead pitched five innings beginning sometime after midnight Friday in the longest game in Red Sox history, a 6-5 win over the Yankees in 19 innings.