Effective dimension reduction with mode transformations: Simulating two-dimensional fermionic condensed matter systems with matrix-product states