The effect of momentum anisotropy on quark matter in the quark-meson model