It doesn't take that long because of gravity, it's the path taken to the surface.
Discussion
You're absolutely right, I might have simplified it too much ("gravity" in quotes) though the fusion which causes the radiation is at last caused by the immense gravity.
But your shared link explains it better than I could. 👍🤗