It had to be secret because Kim Jong-il said so.
That is all the reason that is needed.
The question to ask is "Why did Kim Jong-il want it to be secret?"
Probably because, if the meeting with China was a failure, it would not have to be acknowledged. A success, however, would be trumpeted.
Whereupon the question becomes "What does Kim Jong-il want to accomplish?"
Thanks.