The Philadelphia Museum of Art on Friday reached an agreement with workers after a 19-day strike, one of the longest in the city’s recent history.