Fluid-fluid displacement in mixed-wet porous media