A baby girl whose mother appears to have given birth to her while buried underneath rubble was rescued in Syria.