NHS England's national medical director is to step down from his role.