Ion trapping properties of a synchronously gated time projection chamber