As India deepens its ties with Taliban-led Afghanistan through development and diplomacy, Pakistan faces the unsettling reality of losing its long-held influence in Kabul