US president defends key security official after journalist says he was added to group chat about air strikes.