Dutch police said a man who stabbed and seriously injured two people at Amsterdam’s main train station on Friday was a 19-year-old Afghan with a German residence permit.