Pennsylvania's high court race has become a magnet for outside funding amid a national shift in perceptions of state supreme courts.