It was unclear who left the baby in a passageway that leads to the No. 1 train, the police said. She was in stable condition.