Dan Loeb, the hedge-fund veteran famed for boardroom fights and value investing, is leaning into the rally that has propelled tech stocks higher.