Durham Castle will fly a rainbow flag as the city's Pride officially launches after securing more than £15,000 in funding following a row with Reform.