Just seconds after the woman rescued her child, a train pulled up at the station