Pueblo joins lawsuit challenging state law