Denny Hamlin pulls off Richmond victory over dominant Martin Truex Jr