A final-quarter onslaught from the Washington Wizards saw them overcome the in-form New York Knicks 106-96.