Simulating the Legacy Survey of Space and Time Stellar Content with TRILEGAL