One of Germany’s most popular parties, the AfD, has been designated by the country’s domestic intelligence agency as an extremist organization that threatens democracy.