Quantum-state engineering in cavity magnomechanics formed by two-dimensional magnetic materials