No character named Trista appears in Diary of a Wimpy Kid: The Last Straw or any series book.
You may be misremembering the name or confusing it with another series. Share any details (appearance, role, scene) and I'll help identify the correct character.