There are physiological processes that begin long before menopause itself, but weight gain isn’t necessarily inevitable