For Wall Street, Monday night’s first presidential debate was a bit like a dress rehearsal for the election.