The idea of a head of state hunched over a controller is funny mostly because it collides with the formality of the office. In reality, the gap is not that wide.
Modern presidents and prime ministers are drawn from a generation that grew up alongside home consoles, and gaming is now one of the most common leisure activities across almost every adult age bracket. Public figures have been photographed courtside at basketball games, tossing out ceremonial first pitches, and appearing in televised interviews about their downtime, which tells you that the appetite for recreation has always been there.
What has changed is the medium. A leader's hobbies tend to surface only when a staffer mentions them or a photograph leaks, so the record is patchy by design. The safer conclusion is the boring one: politicians relax the way everyone else does, and the specific titles are usually private.