Orthosis for immobilizing a joint