A toddler who spent months in hospital for cancer treatment has finally been discharged in time to spend a special Christmas with her family.