Gov. Charlie Baker’s litany of executive orders responding to the COVID-19 pandemic was legally justified and did not violate constitutional rights, the state’s highest court ruled.