Welsh first minister Vaughan Gething loses confidence vote