Median general counsel compensation surged 27% from 2019 to 2023, and the outlook for future pay increases is bright for those with a commanding presence, a strong understanding of the business and other attributes that don't show up on a resume.