Germany’s far-right AfD is projected to take power in one of the country’s 16 states for the first time.