The president posted a fierce attack on his former national security adviser after Bolton’s guilty plea saying he hoped Bolton would be dealt with harshly.