Staying fit is one of the best ways to lower the risk of dementia — even for those with a genetic predisposition to the condition.