Officials clearly understood that the fatal shooting of a demonstrator posed one of the gravest political threats to President Trump since his inauguration.