Tokyo stocks closed higher on Wednesday as investors took heart from rallies on Wall Street, with US political uncertainty receding.