A toddler is recovering in hospital after receiving "life-changing" facial injuries in a dog attack in Denton, Greater Manchester.