Transparent object isn't showing the intersecting object inside it
I am guessing that rendering wireframes inside other materials or through effects like refraction is not supported since the wireframe is itself sort of a "2D-like effect.

Try using a Wireframe modifier in your cubes instead, that should be visible inside refractive materials, at the expense of extra geometry.