A semi-Markov multistate cure model for estimating intervention effects in stepped wedge design trials