Measurement of the $B_s^0$ meson lifetime in $D_s^+\pi^-$ decays