The dollar hit a two-month peak against its basket of peer currencies on Wednesday, boosted by robust U.S. housing data.