Lawyers, advocacy groups and think tanks are soliciting historians’ expertise on the history underlying certain Supreme Court cases. Yet this history-for-hire approach raises questions.