A minimization procedure to the existence of segregated solutions to parabolic reaction-diffusion systems