A suspected terrorist wanted for more than 20 years in the US has been arrested after being tracked down in North Wales.