Germany detains suspected Islamist over Dortmund attack