Massachusetts and New Hampshire officials have confirmed an international traveler carrying the measles virus passed through Boston’s South Station on their way from New York to Boston on Feb. 26, potentially exposing other passengers and city residents to the highly contagious disease.