Quantum Appell polynomials and their quadratic decomposition