The quality of advice is better if you leave out what cards he had, since we'll need to form our opinion from the cards dealt and the player conditions you describe. That said, you're memory is less than optimal, like the river card (any low card actually COULD complete a straight, so you shouldn't say it was impossible), and you gave us no insight on the behavior or patterns of the villain you're up against.
I don't like your turn and river 'call' open bets you do. You're showing weakness, and aren't getting enough good information when he raises to 10x or 20x. Had you opened higher, it might be easier to get away if there's a huge raise, since they know you've been crazy betting 3 times in a row, and they're trying to trap you into the right situation, like how this guy played you.
The best chance for you to fold was the river I think, but even then, it's not what I'd call an 'easy fold'. Unless you can give more exact details, like the exact river card (heh), I and others could give a better opinion.
Generally, once you start feeling such a strong resistance after you've been rolling over the table, they could really have something over you, even though you have 2 kings.