The historic maritime celebration in New York and New Jersey had to overcome political perceptions to celebrate America’s semiquincentennial.