A care worker who pleaded guilty to ill-treating a patient at Muckamore Abbey Hospital has been given a suspended jail sentence.