Wall Street closed mixed as technology stocks fell and defense companies surged following a military budget announcement.