Probing chiral interactions up to next-to-next-to-next-to-leading order in medium-mass nuclei