Energy conditions in f(R, Lm) gravity