Discord Inc. filed confidentially for an initial public offering, according to people familiar with the matter, adding to a rapidly growing pipeline of venture capital-backed tech listings.