Thewlis' 50th minute penalty separated the sides at The Jakemans Stadium but he was one of four players sent off in a frantic finale.
Thewlis and Jay Rollins saw red, alongside Leamington's Junior English and Jordan Murphy, as referee Dean Watson handed out the punishments following a heated melee following English's foul on Rollins.