An explosion at a political rally on Pakistan’s border with Afghanistan killed at least 44 people and wounded nearly 200 in a Sunday attack that a senior leader said wanted to weaken Pakistani Islamists.