The U.S. stock market is heating up in a way that suggests speculative mania. It matters to bitcoin as analysts have linked the cryptocurrency's recent rally to increased risk-taking on Wall Street.