The high-density equation of state in heavy-ion collisions: Constraints from proton flow