Properties of a confined molecular glass-forming liquid