Injunction granted as former president’s companies face fraud lawsuit brought by New York attorney-general