A New South Wales man has avoided jail time after becoming the first person charged under the state's new coercive control laws.