The man accused of lighting a woman on fire on a New York City subway made his first appearance in court on Tuesday