President Ashraf Ghani of Afghanistan is taking a risk most leaders would shun: He is proposing to improve Afghanistan’s contentious relations with Pakistan in the hope of paving the way toward both peace with the Taliban and regional economic cooperation. Much of the Afghan public is skeptical, because Pakistan has long treated Afghanistan like a client state. Mr. Ghani will need to show results fast.