President Trump’s effort to pressure Ukraine for information he could use against political rivals came as he was being urged to adopt a view of that country as hopelessly corrupt by its regional adversaries, including Russian President Vladimir Putin and Hungarian Prime Minister Viktor Orban, U.S. officials said.