Karolina Muchova captured the Wimbledon warm-up title in Bad Homburg after Naomi Osaka was forced to stop with a right foot problem early in the second set.