Engineering Kitaev exchange in stacked iridate layers: impact of inter-layer species on in-plane magnetism