Illinois child welfare worker guilty of endangerment after 5-year-old beaten to death by mom