Thomas beats Alabama teammate Wyatt on big day at US Amateur