Qld lashes fed govt over hospital beds