The customs hall is actually in T6. But your LAX-DEN flight may depart from T6 or T7. Transfer any duty free liquids into checked bags and drop them off before you emerge into the public area. After you're out, go upstairs and go through security in T6 or T7 (they're connected). Two hours may very well be barely enough time to connect. However, there should be more flights later in the day.