Paramount Global talked to Warner Bros. Discovery Inc. about a merger for months before giving up when no concrete offer was received, a regulatory filing shows.