Trump’s outgoing national intelligence deputy wishes him ‘Godspeed’ in a short letter on her resignation