A determination of the β parameter as a test of T-invariance in the charged decay mode of the λ hyperon