St Johnstone manager Tommy Wright was disappointed at Motherwell's winning goal being allowed to stand in the 2-1 defeat at Fir Park.