New Hampshire’s country stores were once community mainstays that might have been the only place for miles to buy basic necessities and chat with neighbors. Now they’re adapting to survive.