A prediction perspective on the Wiener-Hopf equations for time series