There are lessons to learn from Brett Kavanaugh’s appointment to make our own processes more accountable and inclusive