A legal technology company’s sudden prominence in Michael Avenatti’s California criminal trial has led to a key role in the post-mistrial action as prosecutors enlisted it to access electronic financial data.