US diplomat testifies Trump tied Ukraine aid to politically motivated probes