A banker testified Friday that his boss extended risky loans to Paul Manafort because he wanted to earn chits with the Trump campaign, painting a picture of Mr. Manafort financially benefiting from his role with the future president.