The lawsuit marks an escalation in a legal dispute between X and the government of Prime Minister Narendra Modi over how it orders content to be taken down, at a time when Musk nears the launch in India of his other key ventures, Starlink and Tesla.