Judging by the lesions, it's possibly fowl pox, mosquitos are normally the culprit. I suspect your hen scratched a fowl pox lesion near her eye and got the eye infected.
Flush her eye with saline solution and apply Terramycin eye ointment in her eye twice a day until the area heals. Neosporin...