Avril Haines’s unusual backstory makes her an unlikely chief of US intelligence