Child safety officers were warned a young diabetic girl's mother would refuse her insulin two years before the child was found dead, a coroner has heard.