Lynchburg judge dismisses lawsuit challenging transgender gu