A baby born with her heart outside of her body has defied odds to become the first in Britain thought to have survived the rare condition.