E.l.f. Beauty’s stock surged after a raised outlook for both sales and profit, as demand for cosmetics keeps growing.