$\Rightarrow$ Each fiber is compact (by properness) and discrete (from definition of covering space) hence is finite.
$\Leftarrow$ You have to prove that for $K\subset X$ the inverse image $q^{-1}(K)$ is compact.
Since $\operatorname {res} q:q^{-1}(K) \to K$ is a finite covering space in its own right apply my answer to cocomi.