Always a possibility but a very remote one in this antibiotic era. Syphilis is very discoverable and treatable in its early stage, in contrast to Woody's time.
One other possible risk factor in Biden's dementia: although the media have barely gone into this, Biden's medical history includes two brain surgeries for aneurysms.