Younger adults have the strongest link between the heart condition and dementia diagnosis