The present disclosure relates to a vehicle wheel supporting device. In the related art, for example, there has been known an arrangement of a knuckle, that is, a form of a hub carrier, a hub bearing, a drive shaft, and a deflector disclosed in Japanese Patent Application Publication No. 2015-071339. In the prior art, the drive shaft is disposed in a drive wheel which is connected to a rotational axis of a hub bearing supported on a hub carrier, and the deflector is fixed to the drive shaft. SUMMARY On a drive wheel side, a sensor configured to detect a rotation state of the wheel is fixed to the hub carrier. Here, the hub carrier is disposed in an environment in which foreign matter such as water, sand, or mud is likely to enter the hub carrier, while driving, particularly from a vehicle inner side in a right and left direction of the vehicle, that is, from a side opposite to a vehicle outer side where the wheel is connected to a rotating shaft body. Therefore, the sensor fixed to the hub carrier is disposed in an environment in which foreign matter is likely to adhere. Here, the sensor is required to maintain good detection accuracy even in an environment in which foreign matter is likely to adhere. Therefore, the deflector provided on the drive wheel is fixed to the drive shaft disposed on the vehicle inner side of the hub carrier so as to prevent foreign matter from adhering to the sensor disposed so as to be opposed to the hub bearing. Even in the case of a driven wheel that does not include a drive shaft, it is necessary to prevent foreign matter from adhering to the sensor, and it is necessary to detect the rotational state of the wheel with good detection accuracy. However, in the driven wheel, the above described deflector cannot be fixed to the driven wheel because the driven wheel does not have the drive shaft. For this reason, for example, when the sensor is fixed to the hub carrier in the driven wheel similarly to the drive wheel, a dedicated hub carrier disposed in the driven wheel may be adopted. In this case, the dedicated hub carrier is configured such that the dedicated hub carrier closes a vehicle inner side in an accommodating hole portion accommodating the hub bearing. In a case where the dedicated hub carrier is used in the driven wheel, the accommodating hole portion is closed by the dedicated hub carrier in the driven wheel, thereby preventing foreign matter from adhering to the sensor. Further, when the dedicated hub carrier is not adopted, for example, a cap configured to protect an internal structure such as an outer ring, rolling balls, and an inner ring of a hub bearing may be provided. In this case, the cap is embedded so that at least a detection portion of the sensor enters into an inside of the cap. In a case where the cap is provided, the sensor is embedded into the cap, thereby preventing foreign matter from adhering to the sensor. As described above, in order to prevent foreign matter from adhering to the sensor, specifications of the hub carrier may be different between the drive wheel side and the driven wheel side. When the sensor is fixed to the hub carrier on the drive wheel side and the sensor is fixed to the cap on the driven wheel side, specifications of the hub carrier and the sensor may be different and specifications of a wire harness, a connector, and the like connected to the sensor may be different. That is, in the related art, the hub carrier, the sensor, the wire harness, and the connector need to be produced and managed as different components on the drive wheel side and the driven wheel side, and separate assembly operations need to be performed. Therefore, there is still room for improvement in terms of achieving commonality of components while preventing adhesion of foreign matter to the sensor. An object of the present disclosure is to provide a vehicle wheel supporting device capable of achieving commonality of components. An aspect of the present disclosure relates to a vehicle wheel supporting device including a hub-bearing rotatably supporting a wheel, a hub-carrier supporting the hub-bearing, a sensor configured to detect a rotating state of the wheel, a cap configured to prevent an entry of foreign material into an inside of the hub-bearing, and a deflector configured to isolate the sensor from the foreign material. The deflector is fixed to the cap. According to the vehicle wheel supporting device of the present disclosure, the deflector is fixed to the cap. As a result of this, the deflector can be used even in a driven wheel that does not include a drive shaft. Therefore, also in the driven wheel, since the deflector can isolate a detection portion of the sensor from foreign matter, it is possible to prevent foreign matter from adhering to the sensor. Since the deflector can prevent foreign matter from adhering to the sensor, the sensor can be fixed to the hub carrier also in the driven wheel. Therefore, according to the vehicle wheel supporting device of the present disclosure, since the commonality of the deflector can be achieved in the drive wheel and the driven wheel, the commonality of the hub carrier, the sensor, the wire harness, and the connector can also be achieved.