Single Domain Generalization in Diabetic Retinopathy: A Neuro-Symbolic Learning Approach