Couple things, Obama never paid hush money to Rev Wright. That's a pretty big difference. The offer, (if there even was an offer) was 1. Not offered by Obama. 2. Was to keep him from preaching until after the election.
Trump has repeatedly lied about hush money, (that was paid). Hush money to hide out of wedlock sex with a porn star. Somehow in your mind, these two cases are the same?