3D-Printed Porous Magnetic Carbon Materials Derived from Metal–Organic Frameworks