Contacts shielding in nanowire field effect transistors