The Taliban now controls stretches of major highways across Afghanistan, and thousands of people are stopped each week at makeshift checkpoints where the hard-line militants comb through their smartphones for content, contacts, and social media accounts.