Your genes might control up to 50 percent of how you age. But there’s still a case for healthy habits.