Dynamical screening of ionized impurities between barrier-separated two-dimensional electron gases