The stock market’s record-setting rally faces a midweek double whammy as a pivotal Federal Reserve’s interest-rate decision collides with a flood of megacap tech earnings.