An anti-terrorism court in Pakistan has sentenced a senior leader of a banned Islamist party to 35 years in prison for inciting violence.