Germany's finance minister has blamed Donald Trump's "irresponsible war in Iran" for a big drop in his country's expected tax revenues.