A top White House economic adviser is leaving — and he has a disturbing warning on his way out