An evolving relativistic jet model for the BL Lacertae object Markarian 421