The deal, which has been in the works since last year, is one of the largest office leases in Boston since the pandemic’s arrival.