Dell Technologies, the world’s largest closely held technology company, reported growing sales and raised its outlook for the year in the midst of its $21.7-billion plan to return to public markets.