The arrest and prosecution of a professor over social media posts sparked a major legal and academic debate about the boundaries of free expression under India’s colonial-era speech laws.