Optically powered system for automatic protection of a fiber segment