Mother accused of leaving her baby at a subway platform appears in court