Nanomechanical squeezing with detection via a microwave cavity