E.l.f. Beauty has won over younger consumers with its viral marketing and low-priced “dupes” of prestige favorites.