The Taliban now hold the keys to an untouched trillion-dollar trove of minerals including some that could power the world’s transition to renewable energies, but Afghanistan has long struggled to tap its vast deposits.