Cerebellar state estimation enables resilient coupling across behavioural domains