The far-right Alternative for Germany is just short of a majority in a regional election.