A toddler was found dead in her cot after becoming unwell just days after Christmas, an inquest has been told.