Retinal scans, aided by artificial intelligence, may soon offer doctors a simple, non-invasive way to detect several medical conditions.