Cole Allen faces a sentence of up to life in prison if convicted of attempting to kill the US president.