Justice Sonia Sotomayor, appearing recently at the University of Louisville’s law school, was asked about eroding confidence in the Supreme Court.