Transformers Discover Molecular Structure Without Graph Priors