New Labor MP reveals cancer diagnosis