Shearman & Sterling, which had one of the sharpest climbs in profits per partner and revenue per lawyer in 2021 among the Am Law 100, saw its financial performance last year, like many other firms, take a turn.