Existence of doubly periodic solutions for a class of telegraph system with indefinite weight