Long-term Contracts for Network-supportive Flexibility in Local Flexibility Markets