Hamilton Lane says critics misunderstand how private-equity fund stakes are valued, defending the industry’s practice of booking gains on discounted secondary-market purchases.