Nonstationary Dual Averaging and Online Fair Allocation