John Bolton is the third of US President Donald Trump's prominent critics to face prosecution in recent weeks.