A second terrestrial planet orbiting the nearby M dwarf LHS 1140