Set x-ray of two objects inside another object
No. X-ray can't work that as as far as I know. Once you put both the armature and the monkey in x-ray, its like they are on the same "layer". The only way I can think of close to this is to invert the normals of the cube, but I don't think that meets what you're trying to do.