A wife may receive the wages of her personal labor, and maintain an action therefor in her own name and hold the same in her own right, and she may prosecute and defend all actions for the preservation and protection of her rights and property as if unmarried.