A study has found that people living in areas with persistent exposure to wildfire smoke may have higher risks of developing dementia later in life.