I think that is false. Enabling your leisure is not the sole value of work.
The GP said:
>> I know I could be [...] volunteering my time on a political campaign I believe in, or working to feed the homeless
Those are work too. If you are a certain kind of person, you do those things and value them, and they don't enable your leisure time, indeed they reduce it.
I don't think it's for fun either. Another commenter said:
>>> the number one reason I spend my time there—by far—is because it was fun
It was fun for them, but I know people who do volunteer work to help others who don't find it fun, but do it because they think it is right or essential to do anyway.
I think most people do some kinds of work which is not for the sole purpose of enabling their leisure time, at some time in their lives.
For example every key worker (nurse etc) who feels underpaid but remains in the job because they feel it is a good thing to do. Every unpaid carer of their parents. Every volunteer who delivers food to others during pandemic even when they have become fed up of doing so.
Its funny that you mentioned “feed the homeless” as an example here. When I lived in San Francisco I spent every Tuesday going to my neighborhood anarchist space to cook for Food Not Bombs and later served it on 16th and Mission. Why did I do that? Sure helping people is a noble goal, spreading anarchist propaganda through direct action is productive for a cause I believe in. But the number one reason I spend my time there—by far—is because it was fun.
Thus, you're better off playing games or reading. Being inactive and happy is by far the most rational thing to do.
I think you could approximate this function of the value of leisure time if you had enough time and money to go around polling people. My hunch is that there would be some variation around work ethic and virtue signaling, but that there would be a clear relationship between net worth, free time, and the value of free time.
I struggle with this question for myself, certainly. I know I could be working on some kind of revenue-generating side project, or volunteering my time on a political campaign I believe in, or working to feed the homeless, but instead I play video games. Is that.. okay? Is it "right" or "good"? I don't know that I have a perfect answer.
I know this much: without some amount of leisure time, I'd go crazy, nor would I be much use in any of my "productive" capabilities; so clearly, there's an amount of leisure time that is a net good for me. I think the question becomes: what is that amount?