Age is widely considered the biggest risk factor for dementia, but there are other elements you can control