Trump was wrong to cite Brett Kavanaugh in immunity brief: ex-prosecutor