The Gates Foundation pledges $1.4 billion at COP30 to boost climate resilience for smallholder farmers worldwide.