Suppose, for contradiction, that no point of K is a cluster point of (xm)m∈N.
Step 1 (a family of open sets that the sequence eventually avoids). Let
U={U⊆X: U∈Td and there is N∈N with xm∈/U for every m∈N satisfying N≤m}.
We regard U as a family of subsets of X indexed by U itself, the member indexed by U being U.
Step 2 (U covers K). Let x∈K. By assumption x is not a cluster point of (xm), so by Cluster Point of a Sequence in a Metric Space there are a real number ε>0 and N∈N such that no m∈N with N≤m satisfies d(xm,x)<ε. Consider the open ball Bd(x,ε), which is open in (X,d) by Open Ball in a Metric Space is Open, hence lies in Td. If m∈N satisfies N≤m, then d(xm,x)<ε fails, and by the symmetry axiom of a metric d(x,xm)=d(xm,x), so d(x,xm)<ε fails and therefore xm∈/Bd(x,ε). Hence Bd(x,ε)∈U. Moreover d(x,x)=0<ε by the identity-of-indiscernibles axiom of a metric, so x∈Bd(x,ε). Since x∈K was arbitrary, K is contained in the union of the members of U, so U is an open cover of K in (X,Td).
Step 3 (a finite subcover). Since K is compact in (X,Td), Compact Subset Criterion via Open Covers in the Ambient Space yields n∈N and members U1,…,Un of U with
K⊆U1∪⋯∪Un.
Write [n] for the initial segment determined by n, which indexes this finite list.
Step 4 (a common threshold). For U∈U let
WU={N∈N: xm∈/U for every m∈N with N≤m},
which is nonempty by the definition of U, and set NU=minWU, which exists by The Natural Numbers Are Well Ordered. This defines the tuple (NUi)i∈[n] in N, with no appeal to a choice principle. By claims 1, 2, and 3 of Properties of the Order on the Natural Numbers, the order ≤ on N is reflexive, transitive, antisymmetric, and any two natural numbers are comparable, so it is a total order. Hence Greatest Element of a Finite Family in a Totally Ordered Set provides j∈[n] with NUi≤NUj for every i∈[n]. Put N=NUj.
Step 5 (contradiction). Consider the index m=N, which satisfies N≤m by reflexivity of ≤. By hypothesis xN∈K, so by Step 3 there is i∈[n] with xN∈Ui. On the other hand NUi≤N by Step 4, and NUi∈WUi, so applying the defining property of WUi with the index N, which satisfies NUi≤N, gives xN∈/Ui. This is a contradiction.
Therefore the assumption was false, and some x∈K is a cluster point of (xm)m∈N in (X,d).