CCAT-prime: optical and cryogenic design of the 850 GHz module for Prime-Cam