A row over stray balls landing on a neighbouring resident's property has caused a health and safety probe leading to the closure of Holyhead golf course's 18th hole.