Judges expect ‘meaningful’ engagement with mediation and courts to be seen as ‘last resort’, David Barniville tells conference