In arguments in a voting rights case, the new justice said history must inform constitutional interpretation, making a liberal case for an idea often associated with conservatives.