Enhancing Foundation Models for Time Series Forecasting via Wavelet-based Tokenization