Lense–Thirring effects from on-shell amplitudes