Electrical Standards - Earth Wire at Low Voltages?
The AC-DC section needs to meet applicable safety standards. One of those parameters is isolation between primary (AC) and secondary (DC). If the secondary is properly isolated, and has acceptable leakage that is below the limits allowed in the applicable standards, then it need not be earth connected.

This is a complicated topic and I suggest you consult a compliance engineering specialist to be certain.