A writer who predicted Trump's first coup attempt warns of an obscure legal doctrine he may exploit next time