Khatib Walid, Ophtalmologue à Bastia