The lawsuit claims the film studio did not have the rights to release Top Gun: Maverick.