America’s largest subway system launched a smartphone application that will reveal train-arrival times on seven of the city’s 24 lines—a leap forward for a service that has lagged behind its peers both at home and abroad in adopting new technologies.