Non-Gaussian photonic state engineering with the quantum frequency processor