Prosecutors said the man spent weeks plotting to kill President Trump before aiming a rifle through shrubbery as the presidential candidate played golf at his West Palm Beach country club.