US president's lawyer is accused of running a shadow foreign policy operation meant to damage Donald Trump's political rivals.