Otis Worldwide, one of the largest companies based in Connecticut, plans to move its headquarters within the Hartford area.