I'm sorry, it's a fact of life that you will be judged by others, whether you like it or not. You judge others whether they like it or not.
Yes, you're being hyper-sensitive. They've paid you a compliment. Enjoy it.
As usual (I'm tempted to say, "always"), I find myself agreeing with Artk. Any compliment is a "judgment" of one kind or another. I don't see any difference between "What a good parent you are!" and "Love your new hairstyle!" The people saying it are trying to be nice and make you feel good. I'd accept it in the spirit in which it's offered.
A judgement being made doesn't mean that it's appropriate to voice that judgement. After all, "I love your hairstyle" and "I love the size of your boobs" are both phrased as compliments, but one is socially acceptable to say to a stranger and one is very much
not.

I think there's a subtle difference between compliments like "Love your new hairstyle" or "Your kids are so well behaved" versus the examples in the OP "Thank goodness you're not one of those parents" or "You're doing the right thing."
A statement like "Thank goodness you're not one of those parents" doesn't seem so much like a compliment as an insult to "those parents." It's not really saying that the recipient is doing anything good, only that they've avoided being one of "them," which would be bad in some vague, undefined way. "Thank goodness you're not one of those people who commits serial murder" has the exact same form, but would anyone really consider it a compliment, or would you start wondering why they are even contemplating the question of whether or not you're a serial killer? Complimenting someone on not being X suggests that there's a very real possibility they might have chosen to be X. If X is not that bad, then the recipient might have strongly considered that course of action, and the statement insults them as well. If X truly
is that bad (e.g. being a serial killer), then suggesting there was a reasonable chance they might have been X isn't very complimentary, nor is it particularly noteworthy that they chose against it.
"You're doing the right thing" IMO sounds less like a compliment than an attempt to reassure someone who's having doubts about their course of action. So to me, it seems to be overstepping (thought quite possibly well-intentioned) to say it to someone you don't know. If I'm confidently doing X, I'm not going to feel complimented by someone acting like they know the situation better than I do and "reassuring" me that I'm doing the right thing. I know I'm doing the right thing, and if I didn't, I'd probably want advice from someone other than a random stranger.
"Love the new hairstyle" and "Your kids are so well behaved" sound like genuine compliments to me, and I think part of it is that they comment on a positive result without presuming to approve or disapprove the specific actions that got the result. They're more of a general sentiment of "Whatever it is that you're doing, it's working."