ISLAMABAD, Pakistan — In the most crucial appointment of his new term, Prime Minister Nawaz Sharif on Wednesday chose a relative outsider, Lt. Gen. Raheel Sharif, to lead Pakistan’s powerful army.