A Unified Confidence Sequence for Generalized Linear Models, with Applications to Bandits