In one of the first major headquarters upgrades by a Massachusetts public company post-pandemic, HubSpot Inc. plans to lease all of 2 Canal Park starting in late 2022.