Theory-guided investigation on magnetic evolution of MnPt$_{5-x}$Pd$_x$P and discovery of anti-CeCoIn$_5$-type ferromagnetic MnPd$_5$P