I don’t think it was Washington he was after but a decisive victory on Northern soil to force Lincoln to the negotiating table because there was a growing anti war sentiment growing in the north at the time of the battle. If Lee had won Lincoln would have a difficult time ignoring that sentiment.
I figure Lee could have turned west, away from washington, but he just wasn’t as bright as Sherman when Sherman turned away from Hood to cross Georgia.