Germany’s public schools are struggling with a surge of students whose first language is something other than German. Test scores are falling.