German officials claim that the young man was supporting a foreign terrorism organization and helping to prepare a serious act of violence