The distance map is a continuous map from a compact space (compact because X is, and continuity requires some proof if you haven't already proved this).

But the continuous image of a compact set is compact which means closed and bounded in so the distance between the two points is definitely finite. I am not sure what you mean by reachable.