This type of question (separating classes by representations) is natural throughout representation theory of various different flavors. In particular, the systematic treatment of (finite dimensional) irreducible representations of connected compact Lie groups leads to a straightforward affirmative answer: see for instance the textbook Representations of Compact Lie Groups by Brocker and tom Dieck (Springer GTM 98), expecially IV. I could track down specific references in this book2 and VI.2. Their treatment of class functions is spread out a bit, but it's important to realize that what you want is already proved in such sourcesdoesn't actually require all details of the Weyl character development.
Briefly, the compact Lie group case involves some structure theory: all maximal tori are conjugate and every element is conjugate to some element in your fixed $T$. Moreover, two elements of $T$ are conjugate iff they are conjugate under the Weyl group $W = N_G(T)/T$. Then one has to pin down the class functions on $G$ (invariant on conjugacy classes) by identifying them with $W$-invariant functions on $T$. (Here the category of groups determines what kind of functions are relevant.) A key fact is that characters of irreducible (necessarily finite dimensional) representations generate the algebra of class functions on $G$, from whichand you can pass to the isomorphic algebra of $W$-invariant functions on $T$. These ingredients are standard but not trivial to develop. As a refinement, when $G$ is semisimple and simply connected, one sees that classes in $G$ are already separated just by the values of the finitely many fundamental characters.
To get more perspective on these ideas, it's worthwhile to look at the closely parallel treatment of a connected semisimple algebraic group (over an algebraically closed field of any characteristic): work of Steinbergsee especially Theorem 6.1 and othersits consequences in Steinberg's 1965 paper on regular elements here. Here For a semisimple algebraic group virtually the same results can be proved as in the compact case, with the important difference that not all elements of $G$ are semisimple (and indeed, characters of representations fail to distinguish elements from their semisimple parts). See Steinberg's old Tata lecture notes or Chapter 3 Here it's more obvious that you don't have to know all the fine details about irreducible highest weight representations (which in fact aren't yet complete in prime characteristic). Broadly speaking, three types of my book on conjugacy classessemisimple groups behave similarly: compact Lie groups, complex Lie groups, linear algebraic groups.