The Taliban’s rule, especially bans affecting women and girls, has triggered widespread condemnation and deepened their international isolation.