Device and method for detecting wear of a fall protection device