X has filed a lawsuit alleging that New Delhi is unlawfully censoring content online.