The campaign manager for presumptive Republican presidential candidate Donald Trump is to leave his job.