Set the visibility state on the mir surface attached to the application during suspend/resume states.
By setting the visibility state (hide) of the mir surface during an appilcation suspend state, mir can avoid compositing the surface even regardless of opaqueness and alpha pixel format.
fixes: lp: #1227739 Fixes: 1227739