Nanorings in planar confinement: the role of repulsive surfaces on the formation of lacuna smectics