US President Donald Trump has said that the suspect in the shooting of conservative activist Charlie Kirk has been captured.