The president and his allies have been pressing Ukraine for months to investigate Joseph R. Biden Jr., complicating relations between the two countries.