The nation’s highest court has ruled in favor of a police officer involved in the Capitol attack on Jan. 6, 2021.