Ultrafast electronic relaxation pathways of the molecular photoswitch quadricyclane