The gravity dual of supersymmetric gauge theories on a squashed three-sphere