Andrzej Duda, 48, has contracted Covid-19 but is feeling “fine”, a presidential minister says.