Preflop
If UTG was doing a lot of limping, we can almost just ignore his limp and play the same range, as if it had folded to us, and KTo is certainly a fine open from CO. Personally I do a lot of isolation raising against limpers, but 18BB is a very awkward stack size to do it with, so I am ok limping behind here. Or you could make a small raise like 2,5BB knowing, that he will always call, but maybe you can get the players in the blinds out of the hand.
Flop
You flopped the nuts, so the only question is, how do you extract as much value as possible? You could just call, but there are many cards, that can change the texture and either make your decisions more difficult or kill your action. So I really like, that you fastplayed and got it in. And even more so in a freeroll, where I expect people to be stacking off wider.
Results
Of course it sucks to flop the nuts and then get drawn out on. Nobody are happy about that. But its part of the game, and the only thing, that matter, is, how we react to it. If we let it irritate us, we might start to make bad decisions in other
hands / tournaments, and this is something, we really need to avoid. This time you played the hand perfectly fine, and then its all good, even though you ended up losing.