Thai court dissolves opposition party critical of military rule