The lawyer, Keith Davidson, testified that the release of the “Access Hollywood” tape, in which Donald J. Trump described assaulting women, increased the urgency of talks to buy and bury Ms. Daniels’s story of a sexual encounter with him. The $130,000 payment is at the heart of the case.