Frauke Petry, co-leader of the Alternative for Germany (AfD) party, said she would not lead its election campaign.