Callum Slattery scored twice to earn Motherwell a share of the spoils in a fiercely-fought contest with St Mirren at Fir Park.