I'm not who you're arguing with, but I'd also take the opposite side of that argument.
Your analogy does seem workable, though - let's examine:
> If someone comes up to me and asks for food, I am not obliged to give it to them.
Yes! 100% agree. They probably have a right to ask for food in countries that protect free speech, but they have no right to have requests fulfilled.
> If I say to them, "I will give you food, on the condition that I can punch you in the face", and they decline to be punched in the face,
Sounds great. You have the right to say no. You did say no basically, but you did make a counteroffer. (This is arguably also especially true due to free speech, though that's unrelated to our points.) Your exact counteroffer doesn't seem relevant to me, it could also just be that you'll give it for $50, or $1,000,000 and nothing changes.
He thinks it's a bad offer and gets none of your food.
> "nothing wrong has happened"?
I do think nothing wrong has happened! Is it only because you used food, which a necessity, that you think it's wrong? What if it's a PS5? Would this be ok if the asker is seeking a free PS5? Visiting a foreign country is much more like a PS5 than it is a potato.
> If someone else says "You must not make punching someone in the face a precondition of giving them food", does that create a "right to food"? Of course not.
That is the worst policy I could imagine since it's vague and undefined. Can one ask for a kick to the groin? An elbow to the funny bone? If you did the policymaker's job correctly you'd need to make the policy like "No one may deny a request for food/PS5s" -- that exactly creates a right to food/PS5s. Or you could make the policy "No one may deny a request for food/PS5s but one may require compensation, which may only be less than $50 in US Currency. Compensation in the form of a service or a trade may not be required."
That creates a right to pay $50 or less for food/PS5s.