Brockton and West Bridgewater have joined with a group of residents to challenge a state licensing board’s 2009 decision permitting a 350 mega-watt gas-fired powerplant on the city’s south side. The project has stalled because of the city’s refusal to allow the developers to connect to the municipal water system, but the appeal could create further setbacks for them.