Scientists have discovered a way to predict the risk of stroke using pictures of blood vessels at the back of our eyes.