SAN DIEGO — After five games of stellar pitching, timely hitting and clean defense, the Mets went to San Diego and wobbled and bobbled their way through the first nine innings. The 10th, however, was a different story. Facing the Padres in the final series before the All-Star Break, the Mets showed resolve by tying the game in the fifth inning after a rocky start, then finishing the job with a four-run 10th inning to win 7-5 on Friday night at Petco Park. It wasn’t pretty, but it was a win, and it was the Mets’ sixth in a row, a new season-high. Facing left-hander Tom Cosgrove (1-2) in the 10th, Jeff McNeil, who has struggled all season but even more in recent weeks, drilled a double down the line to lead off the inning and score the ghost runner.