$c$-function and central charge of the sine-Gordon model from the non-perturbative renormalization group flow