Active self-polarization of contractile cells in asymmetrically shaped domains