Issues around inventory, staffing and high prices all weighed on the nation’s largest used-vehicle retailer in its second quarter.