I think there are other issues than just sex life but you escalated things by directly discussing divorce.
It took good 4 years after baby to have any normalcy in sex life for us.
Your wife is still lactating and must be feeding the baby, it drains energy, are you not up most of the night bcoz of baby or is there a nany taking care of everything which leaves time and energy to divorce over sex when your baby is just 2.
May be do a vacation and enjoy family time than just thinking about sex.