Consultant who raised concerns over maternity care loses whistleblowing case