Generalized Feynman path integrals and applications to higher-order heat-type equations