Toilet intermittently continually fills
It's difficult to tell without a close up photo of the valve however your guess sounds correct.  It's possible there's some grit or chalk built up that's preventing the valve from closing fully.  Unscrewing the part you've circled may allow you to verify and clean it out.  Ensure you turn the water supply to the cistern off before removing the part.