I have never heard of a chick hatching with an eye infection but what on earth else could afflict the poor thing so early.
If it were me, I'd rinse its eyes with saline solution. If you don't have any, you can google to make it very easily. That might help you see if there's anything in...