Lindblad equation approach to the optimal working point in nonequilibrium stationary states of an interacting electronic one-dimensional system: Application to the spinless Hubbard chain in the clean and in the weakly disordered limit