One central Massachusetts town of 7,700 has become an improbable battleground in America’s tobacco wars.