The lawsuit comes after weeks of mounting backlash against Grok’s ability to generate nonconsensual deepfakes.