On distinguished square-integrable representations for Galois pairs and a conjecture of Prasad