Upgrade to Pydantic >2.0

Hi @edpmay and @ZhengrongTao,

Thanks to @mikkel’s work the Ladybug Tools core libraries are now using Pydantic v2. Hopefully, that will unblock both of you for your work.