Supreme Court to hear appeal that could undo Capitol riot charges