The co-founder of Germany’s anti-immigrant party once fought to welcome refugees