WASHINGTON — While Connecticut’s population growth has slowed to a crawl, there will be shifts in the number of people who live in each of its 169 towns, with Sherman projected to lose nearly half its population by 2040 and Windham experiencing the biggest growth.