Monotone solutions for mean field games master equations: finite state space and optimal stopping