These posts kinda miss the point of thought experiments like this. The rules simply are as they are, use magic to explain it if you want. The point is to consider whether killing the kid would be worth the outcome promised.
I just have a hard time caring about a question like that. more interesting questions are ones like "would you pay more money for everything if it ended child labor in China" or something because at least that's sort of possible.