Stockton residents seek legal advice to determine if NSW government can be held responsible for devastating beach erosion